package com.river.eureka;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Created by jl on 2018/12/18 0018
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaApp implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(EurekaApp.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        System.out.println("hello eureka123");
    }
}
